<div class="path"><i class="iconfont">&#xf108;</i>  <a href="{url('admin/default/welcome')}">开始</a> {$sitename} / <a href="{url('index/index')}">内容管理</a>{$path} / {$info['title']} <span class="blue">[扩展]</span></div>
<div class="m10">
<div class="table-head fn-clear">
<div class="fn-l"><a href="{url('index/index',array('id'=>$cid))}" class="button"> <i class="iconfont">&#xf0ca;</i> 返回</a><strong>{$info['title']} <span class="blue">[扩展]</span></strong></div>
<div class="fn-r">
    <a href="{url('index/extsedit',array(cid=>$cid,id=>$info['id']))}" class="button button-blue"><i class="iconfont">&#xf055;</i> 增加扩展内容</a>
</div>
</div>
<table class="table">
<thead><tr><th class="w30 fn-tac">#</th><th class="tal">内容标题</th><th class="w60 fn-tac">阅读量</th><th class="w40 fn-tac">状态</th><th class="w120 fn-tac">更新时间</th><th class="w120 fn-tac">操作</th></tr></thead>
<tbody>
{loop $list $vo}
<tr>
    <td class="fn-tac">{$vo['id']}</td>
    <td><i class="iconfont">&#xf0da;</i> <a title="编辑" href="{url('index/extsedit',array(cid=>$cid,id=>$info['id'],fid=>$vo['id']))}">{if $vo['fontcolor']}<span style="color:{$vo['fontcolor']}">{/if}{$vo['title']}{if $vo['fontcolor']}</span>{/if}</a></td>
    <td class="fn-tac">{$vo['views']}</td>
    <td class="fn-tac">{if $vo['sort']}<span class="pt goto blue sort_{$vo['id']}" uid="{url('index/state',array('cid'=>$vo['channel_id']))}" fid="{$vo['id']}" type="sort" state="1" title="取消排序">序</span>{else}<span class="pt goto gray sort_{$vo['id']}" uid="{url('index/state',array('cid'=>$vo['channel_id']))}" fid="{$vo['id']}" type="sort" state="0" title="排序">序</span>
{/if}
{if $vo['status']}<span class="pt goto blue stat_{$vo['id']}" uid="{url('index/state',array('cid'=>$vo['channel_id']))}" fid="{$vo['id']}" type="stat" state="1" title="取消审核">审</span>{else}<span class="pt goto gray stat_{$vo['id']}" uid="{url('index/state',array('cid'=>$vo['channel_id']))}" fid="{$vo['id']}" type="stat" state="0" title="审核">审</span>{/if}</td>
    <td class="fn-tac">{date('Y-m-d H:i:s',$vo['uptime'])}</td>
    <td class="fn-tac tip">
      <a class="blue" title="预览" href="{url('default/extread',array(cid=>$cid,uid=>$vo['id']))}" target="_blank">预览</a>/<a class="blue" title="编辑" href="{url('index/extsedit',array(cid=>$cid,id=>$info['id'],fid=>$vo['id']))}">编辑</a>/<a title="删除" href="###" class="blue del" url="{url('index/exts',array(cid=>$cid,fid=>$vo['id'],act=>del))}">删除</a>
    </td>
</tr>
{/loop}
</tbody>
</table>
<div id="page" class="fn-clear">{$pager}</div>
</div>
<script type="text/javascript">
	Do('base','dialog',function(){$('.del').click(function(){$(this).del();});})
</script>